<template>
  <div class="img">
    <el-link @click="toHome" class="link">
      返回首页
    </el-link>
    <img src="../../assets/404.png" alt="" />
  </div>
</template>

<script>
export default {
  name: 'NotFound',
  props: {},
  data () {
    return {}
  },
  methods: {
    toHome () {
      this.$router.push('/')
    }
  }
}
</script>

<style lang="less">
html,
body {
  padding: 0;
  margin: 0;
  .img {
    position: relative;
    .link {
      position: absolute;
      top: 245px;
      left: 725px;
    }
    img {
      width: 100%;
      height: 100%;
    }
  }
}
</style>
